import React from 'react'
import { Icon } from 'antd'

class NullContent extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <div className="NullContent">
                <Icon type="info-circle" style={{ margin: '0 10px 0 0', color: '#f5d707' }} />
                <span>{this.props.children}</span>
                <style jsx>{`
                    .NullContent {
                        margin: 15px;
                    }
                `}
                </style>
            </div>
        )
    }
}

export default NullContent